package com.ruoyi.app.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * 【健康科普】对象 healthy
 *
 * @author ruoyi
 * @date 2025-05-08
 */
public class Healthy implements Serializable {

    /**
     * 文章id
     */
    private Long healthyId;

    /**
     * 文章标题
     */
    @Excel(name = "文章标题")
    private String healthyTitle;

    /**
     * 文章照片
     */
    @Excel(name = "文章照片")
    private String healthyImage;

    /**
     * 作者
     */
    @Excel(name = "作者")
    private String healthyProple;

    /**
     * 文章内容
     */
    @Excel(name = "文章内容")
    private String healthyBody;

    /**
     * 文章状态
     */
    @Excel(name = "文章状态")
    private String healthyStatus;

    /**
     * 上传时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    @Override
    public String toString() {
        return "Healthy{" +
                "healthyId=" + healthyId +
                ", healthyTitle='" + healthyTitle + '\'' +
                ", healthyImage='" + healthyImage + '\'' +
                ", healthyProple='" + healthyProple + '\'' +
                ", healthyBody='" + healthyBody + '\'' +
                ", healthyStatus='" + healthyStatus + '\'' +
                ", createDate=" + createDate +
                '}';
    }

    public Long getHealthyId() {
        return healthyId;
    }

    public void setHealthyId(Long healthyId) {
        this.healthyId = healthyId;
    }

    public String getHealthyTitle() {
        return healthyTitle;
    }

    public void setHealthyTitle(String healthyTitle) {
        this.healthyTitle = healthyTitle;
    }

    public String getHealthyImage() {
        return healthyImage;
    }

    public void setHealthyImage(String healthyImage) {
        this.healthyImage = healthyImage;
    }

    public String getHealthyProple() {
        return healthyProple;
    }

    public void setHealthyProple(String healthyProple) {
        this.healthyProple = healthyProple;
    }

    public String getHealthyBody() {
        return healthyBody;
    }

    public void setHealthyBody(String healthyBody) {
        this.healthyBody = healthyBody;
    }

    public String getHealthyStatus() {
        return healthyStatus;
    }

    public void setHealthyStatus(String healthyStatus) {
        this.healthyStatus = healthyStatus;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
